.class Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;
.super Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator;
.source "MillennialConfigurator.java"

# interfaces
.implements Lcom/burstly/lib/component/networkcomponent/millennial/LocationValet$ILocationValetListener;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator",
        "<",
        "Lcom/millennialmedia/android/MMRequest;",
        ">;",
        "Lcom/burstly/lib/component/networkcomponent/millennial/LocationValet$ILocationValetListener;"
    }
.end annotation


# static fields
.field public static final AP_ID:Ljava/lang/String; = "apID"

.field public static final GOAL_ID:Ljava/lang/String; = "goalId"

.field public static final IGNORE_DENSITY:Ljava/lang/String; = "ignoreDensity"

.field public static final LOCATION_ALLOWED:Ljava/lang/String; = "locationAllowed"

.field private static final LOG:Lcom/burstly/lib/util/LoggerExt;


# instance fields
.field private mAge:Ljava/lang/Integer;

.field private mAppId:Ljava/lang/String;

.field private mChildren:Ljava/lang/String;

.field private mEducation:Ljava/lang/String;

.field private mEthnicity:Ljava/lang/String;

.field private mGender:Ljava/lang/String;

.field private mGoalId:Ljava/lang/String;

.field private mHeight:I

.field private mIgnoreDensity:Z

.field private mIncome:Ljava/lang/Integer;

.field private mIsInterstitial:Z

.field private mKeywords:Ljava/lang/String;

.field private mLocationAllowed:Z

.field private final mLogTag:Ljava/lang/String;

.field private mMartialStatus:Ljava/lang/String;

.field private mOrientation:Ljava/lang/String;

.field private mPolitics:Ljava/lang/String;

.field private mWidth:I

.field private mZip:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 50
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->LOG:Lcom/burstly/lib/util/LoggerExt;

    return-void
.end method

.method constructor <init>(Ljava/lang/String;)V
    .locals 2
    .parameter "logTag"

    .prologue
    const/4 v0, 0x0

    .line 176
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator;-><init>()V

    .line 164
    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mWidth:I

    .line 169
    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mHeight:I

    .line 177
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Cfg for "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mLogTag:Ljava/lang/String;

    .line 178
    return-void
.end method

.method private getEducationType(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .parameter "educationType"

    .prologue
    .line 299
    if-nez p1, :cond_1

    .line 300
    const-string p1, "unknown"

    .line 312
    .end local p1
    :cond_0
    :goto_0
    return-object p1

    .line 301
    .restart local p1
    :cond_1
    const-string v0, "doctor"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 302
    const-string p1, "phd"

    goto :goto_0

    .line 303
    :cond_2
    const-string v0, "master"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 304
    const-string p1, "masters"

    goto :goto_0

    .line 305
    :cond_3
    const-string v0, "highschool"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "someCollege"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "associate"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "bachelor"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "professional"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 312
    const-string p1, "unknown"

    goto :goto_0
.end method

.method private getEthnicityType(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "ethnicityType"

    .prologue
    const/4 v0, 0x0

    .line 322
    if-nez p1, :cond_1

    move-object p1, v0

    .line 341
    .end local p1
    :cond_0
    :goto_0
    return-object p1

    .line 324
    .restart local p1
    :cond_1
    const-string v1, "black"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 325
    const-string p1, "afroamerican"

    goto :goto_0

    .line 326
    :cond_2
    const-string v1, "middleEastern"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 327
    const-string p1, "middleeastern"

    goto :goto_0

    .line 328
    :cond_3
    const-string v1, "nativeAmerican"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 329
    const-string p1, "nativeamerican"

    goto :goto_0

    .line 330
    :cond_4
    const-string v1, "hispanic"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "asian"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "indian"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "white"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 335
    const-string v1, "pacificIslander"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 336
    const-string p1, "pacificIslander"

    goto :goto_0

    .line 337
    :cond_5
    const-string v1, "mixed"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_6

    const-string v1, "other"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 339
    :cond_6
    const-string p1, "other"

    goto :goto_0

    :cond_7
    move-object p1, v0

    .line 341
    goto :goto_0
.end method

.method private getGenderType(Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .parameter "genderType"

    .prologue
    .line 351
    if-nez p1, :cond_1

    .line 352
    const-string p1, "unknown"

    .line 358
    .end local p1
    :cond_0
    :goto_0
    return-object p1

    .line 353
    .restart local p1
    :cond_1
    const-string v0, "female"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "male"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "unknown"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 358
    const-string p1, "unknown"

    goto :goto_0
.end method

.method private getMartialStatus(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "martialStatus"

    .prologue
    const/4 v0, 0x0

    .line 368
    if-nez p1, :cond_1

    move-object p1, v0

    .line 377
    .end local p1
    :cond_0
    :goto_0
    return-object p1

    .line 370
    .restart local p1
    :cond_1
    const-string v1, "single"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "divorced"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "engaged"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "relationship"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "swinger"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    move-object p1, v0

    .line 377
    goto :goto_0
.end method

.method private setAdSize(Ljava/util/Map;)V
    .locals 7
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const/4 v6, -0x1

    .line 273
    const-string v4, "adSizeCodeValue"

    invoke-interface {p1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 274
    .local v1, defaultAdSize:Ljava/lang/Object;
    if-eqz v1, :cond_0

    .line 275
    check-cast v1, Ljava/lang/String;

    .end local v1           #defaultAdSize:Ljava/lang/Object;
    invoke-static {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;->parseAdSize(Ljava/lang/String;)Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;

    move-result-object v0

    .line 276
    .local v0, adSize:Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;
    if-eqz v0, :cond_0

    .line 277
    invoke-virtual {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;->getWidth()I

    move-result v4

    iput v4, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mWidth:I

    .line 278
    invoke-virtual {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;->getHeight()I

    move-result v4

    iput v4, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mHeight:I

    .line 282
    .end local v0           #adSize:Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;
    :cond_0
    const-string v4, "width"

    invoke-interface {p1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v3

    .line 283
    .local v3, serverWidth:I
    const-string v4, "height"

    invoke-interface {p1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 284
    .local v2, serverHeight:I
    if-eq v3, v6, :cond_1

    .line 285
    iput v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mWidth:I

    .line 287
    :cond_1
    if-eq v2, v6, :cond_2

    .line 288
    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mHeight:I

    .line 290
    :cond_2
    return-void
.end method

.method private setInterstitial(Ljava/util/Map;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .line 256
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const-string v2, "isCodeValueInterstitial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 257
    .local v0, defaultInterstitial:Ljava/lang/Object;
    if-eqz v0, :cond_0

    .line 258
    check-cast v0, Ljava/lang/Boolean;

    .end local v0           #defaultInterstitial:Ljava/lang/Object;
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    iput-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIsInterstitial:Z

    .line 260
    :cond_0
    const-string v2, "isInterstitial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 261
    .local v1, serverInterstitial:Ljava/lang/Object;
    if-eqz v1, :cond_2

    move-object v2, v1

    .line 262
    check-cast v2, Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string v3, "YES"

    move-object v2, v1

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string v2, "1"

    check-cast v1, Ljava/lang/String;

    .end local v1           #serverInterstitial:Ljava/lang/Object;
    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    :cond_1
    const/4 v2, 0x1

    :goto_0
    iput-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIsInterstitial:Z

    .line 265
    :cond_2
    return-void

    .line 262
    :cond_3
    const/4 v2, 0x0

    goto :goto_0
.end method


# virtual methods
.method protected applyClientTargetingParamsToNetwork(Ljava/util/Map;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 218
    .local p1, clientTargetingParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v2, "dateOfBirth"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 219
    .local v1, val:Ljava/lang/String;
    const-string v2, "dd-MM-yyyy"

    invoke-static {v1, v2}, Lcom/burstly/lib/util/Utils;->getDateFromString(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    .line 220
    .local v0, date:Ljava/util/Date;
    invoke-static {v0}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->getAge(Ljava/util/Date;)Ljava/lang/Integer;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAge:Ljava/lang/Integer;

    .line 221
    const-string v2, "educationType"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-direct {p0, v2}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->getEducationType(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEducation:Ljava/lang/String;

    .line 222
    const-string v2, "ethnicityType"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-direct {p0, v2}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->getEthnicityType(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEthnicity:Ljava/lang/String;

    .line 223
    const-string v2, "gender"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-direct {p0, v2}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->getGenderType(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mGender:Ljava/lang/String;

    .line 224
    const-string v2, "income"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const/4 v3, 0x0

    invoke-static {v2, v3}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIncome:Ljava/lang/Integer;

    .line 225
    const-string v2, "keyWords"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .end local v1           #val:Ljava/lang/String;
    check-cast v1, Ljava/lang/String;

    .line 226
    .restart local v1       #val:Ljava/lang/String;
    if-eqz v1, :cond_0

    .line 227
    const/16 v2, 0x20

    const/16 v3, 0x2c

    invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replace(CC)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mKeywords:Ljava/lang/String;

    .line 229
    :cond_0
    const-string v2, "martial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-direct {p0, v2}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->getMartialStatus(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mMartialStatus:Ljava/lang/String;

    .line 230
    const-string v2, "postalCode"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mZip:Ljava/lang/String;

    .line 231
    return-void
.end method

.method public configure(Lcom/millennialmedia/android/MMRequest;)V
    .locals 4
    .parameter "objConfigure"

    .prologue
    const/4 v2, 0x0

    .line 235
    new-instance v0, Lcom/burstly/lib/util/NullSafeHashtable;

    invoke-direct {v0}, Lcom/burstly/lib/util/NullSafeHashtable;-><init>()V

    .line 236
    .local v0, map:Ljava/util/Hashtable;,"Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v3, "age"

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAge:Ljava/lang/Integer;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAge:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_0
    invoke-virtual {v0, v3, v1}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 237
    const-string v1, "gender"

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mGender:Ljava/lang/String;

    invoke-virtual {v0, v1, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 238
    const-string v1, "zip"

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mZip:Ljava/lang/String;

    invoke-virtual {v0, v1, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 239
    const-string v1, "martial"

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mMartialStatus:Ljava/lang/String;

    invoke-virtual {v0, v1, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 240
    const-string v1, "orientation"

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mOrientation:Ljava/lang/String;

    invoke-virtual {v0, v1, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 241
    const-string v1, "ethnicity"

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEthnicity:Ljava/lang/String;

    invoke-virtual {v0, v1, v3}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 242
    const-string v1, "income"

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIncome:Ljava/lang/Integer;

    if-eqz v3, :cond_0

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIncome:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v2

    :cond_0
    invoke-virtual {v0, v1, v2}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 243
    const-string v1, "keywords"

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mKeywords:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 244
    const-string v1, "children"

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mChildren:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 245
    const-string v1, "politics"

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mPolitics:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 246
    const-string v1, "education"

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEducation:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 247
    invoke-virtual {p1, v0}, Lcom/millennialmedia/android/MMRequest;->setMetaValues(Ljava/util/Map;)V

    .line 248
    return-void

    :cond_1
    move-object v1, v2

    .line 236
    goto :goto_0
.end method

.method public bridge synthetic configure(Ljava/lang/Object;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 40
    check-cast p1, Lcom/millennialmedia/android/MMRequest;

    .end local p1
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->configure(Lcom/millennialmedia/android/MMRequest;)V

    return-void
.end method

.method getAppId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 384
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAppId:Ljava/lang/String;

    return-object v0
.end method

.method getGoalId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 391
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mGoalId:Ljava/lang/String;

    return-object v0
.end method

.method getHeight()I
    .locals 1

    .prologue
    .line 432
    iget v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mHeight:I

    return v0
.end method

.method getWidth()I
    .locals 1

    .prologue
    .line 423
    iget v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mWidth:I

    return v0
.end method

.method isIgnoreDensity()Z
    .locals 1

    .prologue
    .line 414
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIgnoreDensity:Z

    return v0
.end method

.method isInterstitial()Z
    .locals 1

    .prologue
    .line 398
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIsInterstitial:Z

    return v0
.end method

.method isLocationAllowed()Z
    .locals 1

    .prologue
    .line 446
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mLocationAllowed:Z

    return v0
.end method

.method public onBetterLocationFound(Landroid/location/Location;)V
    .locals 0
    .parameter "l"

    .prologue
    .line 437
    invoke-static {p1}, Lcom/millennialmedia/android/MMRequest;->setUserLocation(Landroid/location/Location;)V

    .line 438
    return-void
.end method

.method public readParameters(Ljava/util/Map;)V
    .locals 7
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalArgumentException;
        }
    .end annotation

    .prologue
    .line 183
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->applyClientTargetingIfAllowed(Ljava/util/Map;)V

    .line 185
    const-string v1, "apID"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAppId:Ljava/lang/String;

    .line 186
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAppId:Ljava/lang/String;

    const-string v2, "apID can not be null"

    invoke-static {v1, v2}, Lcom/burstly/lib/util/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 187
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->LOG:Lcom/burstly/lib/util/LoggerExt;

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mLogTag:Ljava/lang/String;

    const-string v3, "apID for Millennial: {0}"

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    const/4 v5, 0x0

    iget-object v6, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAppId:Ljava/lang/String;

    aput-object v6, v4, v5

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logInfo(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 188
    const-string v1, "goalId"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mGoalId:Ljava/lang/String;

    .line 189
    const-string v1, "ignoreDensity"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIgnoreDensity:Z

    .line 190
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->setInterstitial(Ljava/util/Map;)V

    .line 191
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->setAdSize(Ljava/util/Map;)V

    .line 192
    const-string v1, "locationAllowed"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mLocationAllowed:Z

    .line 195
    const-string v1, "age"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 196
    .local v0, val:Ljava/lang/Object;
    if-eqz v0, :cond_0

    check-cast v0, Ljava/lang/Integer;

    .end local v0           #val:Ljava/lang/Object;
    :goto_0
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAge:Ljava/lang/Integer;

    .line 197
    const-string v1, "gender"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 198
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_1

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_1
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mGender:Ljava/lang/String;

    .line 199
    const-string v1, "income"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 200
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_2

    check-cast v0, Ljava/lang/Integer;

    .end local v0           #val:Ljava/lang/Object;
    :goto_2
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIncome:Ljava/lang/Integer;

    .line 201
    const-string v1, "zip"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 202
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_3

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_3
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mZip:Ljava/lang/String;

    .line 203
    const-string v1, "martial"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 204
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_4

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_4
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mMartialStatus:Ljava/lang/String;

    .line 205
    const-string v1, "ethnicity"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 206
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_5

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_5
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEthnicity:Ljava/lang/String;

    .line 207
    const-string v1, "orientation"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mOrientation:Ljava/lang/String;

    .line 208
    const-string v1, "keywords"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 209
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_6

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_6
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mKeywords:Ljava/lang/String;

    .line 210
    const-string v1, "children"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mChildren:Ljava/lang/String;

    .line 211
    const-string v1, "politics"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mPolitics:Ljava/lang/String;

    .line 212
    const-string v1, "education"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 213
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_7

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_7
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEducation:Ljava/lang/String;

    .line 214
    return-void

    .line 196
    .restart local v0       #val:Ljava/lang/Object;
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mAge:Ljava/lang/Integer;

    goto :goto_0

    .line 198
    :cond_1
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mGender:Ljava/lang/String;

    goto :goto_1

    .line 200
    :cond_2
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIncome:Ljava/lang/Integer;

    goto :goto_2

    .line 202
    :cond_3
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mZip:Ljava/lang/String;

    goto :goto_3

    .line 204
    :cond_4
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mMartialStatus:Ljava/lang/String;

    goto :goto_4

    .line 206
    :cond_5
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEthnicity:Ljava/lang/String;

    goto :goto_5

    .line 209
    :cond_6
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mKeywords:Ljava/lang/String;

    goto :goto_6

    .line 213
    :cond_7
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mEducation:Ljava/lang/String;

    goto :goto_7
.end method

.method setIsInterstitial(Z)V
    .locals 0
    .parameter "isInterstitial"

    .prologue
    .line 405
    iput-boolean p1, p0, Lcom/burstly/lib/component/networkcomponent/millennial/MillennialConfigurator;->mIsInterstitial:Z

    .line 406
    return-void
.end method
